package com.crm.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Data
public class PoolDto {
    private int pageNum;  // 当前页码，默认第一页
    private int pageSize; // 每页条数，默认10条
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginCreateTime; // 开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endCreateTime;
    private Integer id;
    private String phone;
    private String name;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("createtime")
    private String createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String updateTime;
    private String subject;
    private String weixin;
    private String qq;
    private String channel;
    private Integer activityId;
    private Integer courseId;
    private String createBy;
    private String otherIntention;
    private Map<String, String> params;
    private List<Long> userids;
    private String owner;
}
